"""
# -*- coding: utf-8 -*-
# @Time    : 2023/5/24 15:11
# @Author  : 王摇摆
# @FileName: Train.py
# @Software: PyCharm
# @Blog    ：https://blog.csdn.net/weixin_44943389?type=blog
"""
from GBDT.BinaryClassification.Data import X, y
# from GBDT.BinaryClassification.Model_Manual import gbdtc # 人工GBDT树
from GBDT.BinaryClassification.Model_Import import GradientBoostingClassifier as gbdtc # 第三方库GBDT树

clf = gbdtc()
print('GBDT二分类决策树已构造实例！')
clf.fit(X, y)
print('GBDT二分类决策树已训练完毕！')
